<div class="page-content" >
<div class="panel panel-default">
        <div class="panel-heading">
            <strong>添加组件</strong>
        </div>
        <div class="panel-body">
             
       <div class="bootstrap-table">
		<div class="fixed-table-container" style="padding-bottom: 0px;"> 
			<div class="fixed-table-body"> 
				<table id="data-table" class="table"><thead>
			<tr> 
			<th style="" data-field="id"><div class="th-inner sortable both desc">ID</div><div class="fht-cell"></div></th>
			<th style="" data-field="name"><div class="th-inner ">名称</div><div class="fht-cell"></div></th>
			<th style="" data-field="name"><div class="th-inner ">添加</div><div class="fht-cell"></div></th>
			 			</tr></thead>
			<tbody>
			<volist name="data" id="vo">
			<tr data-index="0">
			 <td height="36" align="center" valign="middle"><{$vo.id}></td>
                        <td height="36" align="center" valign="middle"><{$vo.title}></td>
						<td height="36" align="center" valign="middle"><input  data="<{$vo.id}>" type="checkbox" <if condition="$vo['status']">checked="checked"</if> /></td>
			</tr>
			</volist>
			</tbody></table>
			 </div> 
			  <include file="./Apps/BoxAdmin/View/Ace/Public/pager.html" />
		</div>
	    </div>
			<div class="clearfix"></div>
        </div>
    </div>
</div>	
	 
	 
	<script>
	  $(function(){
	   
		 $("#data-table td input").click(function(){
		   var id=$(this).attr("data");
		     $.post("<{:U('Auth/add_group_ico_act')}>",{id:id})
		 })
	  })
	 </script> 
